Skip to main content

Paper Card - Attention Is All You Need

Paper card · about 7 min · refs checked 2026-11-03 (reference links and dates only)

The source paper of the Transformer. This card lays out the question it set out to solve, where the evidence lives, and what the paper does not claim.

What to take away
Research question: can sequence transduction work with attention alone — the abstract's "dispensing with recurrence and convolutions entirely". Core evidence: Section 4 and Table 1 compare three architectures on path length, per-layer compute, and sequential operations; experiments are two machine-translation tasks, 28.4 BLEU on WMT 2014 EN-DE (abstract). Author-stated limitations: the paper has no standalone Limitations section (verified against the arXiv HTML version on 2026-10-29); Section 7's attention visualizations explain the mechanism, not the limits — applicability is the reader's job. What it does not claim: the paper never says this architecture will train general-purpose language models. "Transformer is the foundation of LLMs" is our retrospective framing, not the paper's conclusion. Reading tip: the three-way complexity comparison in Table 1 is the actual argument; looking only at the architecture diagram misses the claim.

Example and interpretation

A teaching scenario, not a measured or executed site test.

Read the method asking how positions and dependencies are represented without recurrence. Separate positional encoding, attention and training setup, then inspect translation experiments. Do not generalize those results to every later model.

How to check your practice

Explain the example in your own words, inspect input constraints, then verify against the source. Revisit concepts if you cannot explain why; supply missing dates, fields or permissions; withdraw unsupported conclusions.

For this topic, start with concept confusion · See all six scenarios and their reasoning

Terms behind this

Transformer

Sources
  • Vaswani et al., Attention Is All You Need (arXiv 1706.03762) ↗
  • HTML version · Section 4, Table 1 (complexity comparison) ↗
  • HTML version · Section 7 Attention Visualizations ↗